package eraserhead.xml.request;

import xml.Message;
import client.ServerAccess;

/**
 * Class for sending a Connect request.
 * @author Michael Checca
 */
public class ConnectRequest {
	/**
	 * Sends a ConnectRequest to the server.
	 * @param sa {@link ServerAccess} to send request the {@link Message to}
	 */
	public static void send(ServerAccess sa) {
		String xmlMessage = String.format("%s<connectRequest/></request>", Message.requestHeader());
		sa.sendRequest(new Message(xmlMessage));
	}
}
